*,
*::after,
*::before {
	box-sizing: border-box;
}

body {
	
	overflow: hidden;
	margin: 0;
	/* background: #282b2f;  */
	background-image: url(../img/search-back.jpg);
	background-size: 100% 100%;
	background-repeat:no-repeat; 
	-moz-background-size:100% 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.main-wrap {
	position: relative;
	/* display: flex; */
	overflow: auto;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: 50% 10em;
	background-size: 75% auto;
}

.main-wrap-forMenu {
	position: relative;
	/* display: flex; */
	overflow: hidden;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	background-repeat: no-repeat;
	background-position: 50% 10em;
	background-size: 75% auto;
}

/* Buttons */

.btn {
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: none;
	background: none;
}

.btn:focus {
	outline: none;
}

.btn--search {
	font-size: 1.5em;
}

.btn--hidden {
	pointer-events: none;
	opacity: 0;
}


/* Reset Search Input */

.search__input {
	border: 0;
	background: transparent;
	border-radius: 0;
	-webkit-appearance: none;
}

.search__input:focus {
	outline: none;
}


/* Links */

a,
.btn {
	text-decoration: none;
	/* color: #d17c78; */
	outline: none;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}


/* Icons */

.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}


/* Header */

.codrops-header {
	background: white;
	border-radius: 100px;
	z-index: 1;
	position: absolute;
	top: 118px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	left: 40%;
	width: 40%;
	padding: 3px 30px;
	text-align: left;
	box-shadow:0 10px 20px #d4d4d4;
	height: 5%;
	cursor: text;
}


.codrops-header__side,
.search-wrap {
	margin: 0 0 0 auto;
}


/* Bottom nav */

.bottom-nav {
	position: relative;
	width: 100%;
	margin: auto 0 0 0;
	padding: 2.5em 2.75em 2.5em 2em;
}


/* Demo links */

.codrops-demos {
	font-weight: bold;
	padding: 1.25em 0;
	text-align: right;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.codrops-demos span {
	display: inline-block;
	margin: 0 1em 0 0;
	vertical-align: bottom;
}

.codrops-demos a {
	position: relative;
	display: inline-block;
	margin: 0 0.1em;
	padding: 0 0.4em;
}

.codrops-demos a.current-demo::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 2.25em;
	height: 2.25em;
	margin: -1.125em 0 0 -1.125em;
	border: 2px solid;
	border-radius: 50%;
}


/* Top Navigation Style */

.codrops-links {
	position: relative;
	display: flex;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

.codrops-links::after {
	content: '';
	position: absolute;
	top: 15%;
	left: 50%;
	width: 2px;
	height: 70%;
	opacity: 0.1;
	background: currentColor;
	transform: rotate3d(0, 0, 1, 22.5deg);
}

.codrops-icon {
	display: inline-block;
	margin: 0.5em;
	padding: 0.5em;
}


/* Deco lines */

.decolines {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	pointer-events: none;
}

.decoline {
	position: absolute;
	width: 1px;
	height: 100%;
	background: #ddd;
}

.decoline:first-child {
	right: 88em;
}

.decoline:nth-child(2) {
	right: 68em;
}

.decoline:nth-child(3) {
	right: 48em;
}

.decoline:nth-child(4) {
	right: 28em;
}

.decoline:nth-child(5) {
	right: 8em;
}


/* Demo colors */
/* 在这里！ */
.phone-body { background-color: #2f2c2c; }
.phone-body main { background-color: rgb(255, 255, 255);  }
/* .phone-body a, .phone-body .btn { color: #ffefb9; } */
.phone-body .btn--search-close { color: #e85454; }

.nav-open { background-color: #2f2c2c; }
.nav-open main { background-color: rgb(255, 255, 255); }
/* .nav-open a, .nav-open .btn { color: #ffefb9; } */
.nav-open .btn--search-close { color: #e85454; }

